﻿using MediatR;
using ProduceBasicData.Api.DTO;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.User
{
    /// <summary>
    /// 登录命令类
    /// </summary>
    public class LoginUserCommand:IRequest<ApiResult<UserDto>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }
    }
}
